Hummingbird\Core\Modules\Performance A

Total Complexity 73
Dependencies 3
Dependents 5
Total lines 530
Lines of code 293
Logical lines of code 136
Comment lines 170
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_lcp_submetrics()
A
50 10 28
get_impact_class()
A
55 8 18
refresh_report()
S
52 7 23
can_run_test()
S
57 6 16
report_dismissed()
S
61 6 12
get_audits_class()
S
59 5 15
get_audits_from_performance_test()
S
62 5 11
get_maps()
S
46 1 50
get_performance_report_error()
S
65 4 9
dismiss_report()
S
63 3 11
get_relevant_metrics()
S
63 3 10
get_lcp_submetrics_for_mp()
S
54 1 25
get_audits_for_mp()
S
59 1 17
is_doing_report()
S
77 2 3
set_doing_report()
S
65 2 9
get_last_report()
S
75 2 4
init_scan()
S
67 2 9
on_init_performance_scan()
S
67 2 8
cron_scan()
S
69 1 7
clear_cache()
S
74 1 5
init()
S
79 1 3